package com.xdxc.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xdxc.model.dto.ExamPaperDto;
import com.xdxc.model.dto.ExamSaveDTO;
import com.xdxc.model.dto.PaperDto;
import com.xdxc.model.entity.Paper;
import com.xdxc.response.Result;
import com.xdxc.vo.QuestionWithOptionsVo;

import java.util.List;

public interface PaperService extends IService<Paper> {
    boolean savePaper(PaperDto paperDto) ;

    List<QuestionWithOptionsVo> getPaperQuestion(List<Paper> paperList);

    PaperDto getPaperExam(Long paperId);

    Result editExamPaper(ExamSaveDTO examSaveDTO);

    List<Paper>  returnPaperWithUserAnswer(Long examRecordId, Long PaperId);
}
